package com.falser.user.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.falser.common.enums.PermissionTypeEnum;
import lombok.Data;

/**
 * 菜单权限表(SysPermission)表实体类
 *
 * @author makejava
 * @since 2021-09-16 20:49:57
 */
@Data
@TableName("sys_permission")
public class SysPermission implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String permissionName;

    private Long parentId;

    private Integer orderNum;

    private String url;

    private String target;

    private PermissionTypeEnum permissionType;

    private String visible;

    private String refresh;

    private String perms;

    private String icon;

    private String createBy;

    private LocalDateTime createTime;

    private String updateBy;

    private LocalDateTime updateTime;

    private String remark;

    private String method;
}

